// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_FA_SALE_ASSETS
// * CreateDate    : 2014-06-05 18:29:43
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:43
// * LastChanger   : 2014-06-05 18:29:43
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class FaSaleAssetsTable : TableInfo
    {
		public const string C_TableName = "FA_SALE_ASSETS";
		
		public const string C_ID = "ID";
		public const string C_SALE_PERSON = "SALE_PERSON";
		public const string C_SALE_DATE = "SALE_DATE";
		public const string C_BUYER = "BUYER";
		public const string C_PRICE = "PRICE";
		public const string C_REMARK = "REMARK";
		
		public FaSaleAssetsTable()
        {
            _tableName = "FA_SALE_ASSETS";
        }
		
		protected static FaSaleAssetsTable _current;
        public static FaSaleAssetsTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new FaSaleAssetsTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_SALE_PERSON, new ColumnInfo(C_SALE_PERSON,"SalePerson", false, typeof(string)));
            _current.Add(C_SALE_DATE, new ColumnInfo(C_SALE_DATE,"SaleDate", false, typeof(DateTime)));
            _current.Add(C_BUYER, new ColumnInfo(C_BUYER,"Buyer", false, typeof(string)));
            _current.Add(C_PRICE, new ColumnInfo(C_PRICE,"Price", false, typeof(decimal)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo SALE_PERSON
        {
            get { return this[C_SALE_PERSON]; }
        }
		
		public ColumnInfo SALE_DATE
        {
            get { return this[C_SALE_DATE]; }
        }
		
		public ColumnInfo BUYER
        {
            get { return this[C_BUYER]; }
        }
		
		public ColumnInfo PRICE
        {
            get { return this[C_PRICE]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		
		
	}
}

